import java.io.IOException;

import javax.microedition.lcdui.Image;


public class BackG {
	
	public static Image bk[];
	public static int rWbk[], hHbk[];
	
	public void BackG()
	{
		
	}
	
	public static void load()
	{
		System.out.println("vao ham load");
		if (bk == null) {
			bk = new Image[11];
			rWbk = new int[11];
			hHbk = new int[11];
			for (int i = 0; i < bk.length; i++) {
				try {
					bk[i] = Image.createImage("/bk/bk" + i + ".png");
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				rWbk[i] = bk[i].getWidth();
				hHbk[i] = bk[i].getHeight();
			}
			// percentLoad = 70;
		}
	}
	

}
